 |
CE Gobi SDK
2.14
GobiApi
|
1 #ifndef __GobiAPIDef_h__
2 #define __GobiAPIDef_h__
8 #define IMPORTGOBI extern "C" __declspec( dllexport )
9 #else //GOBIAPI_EXPORTS
12 #define IMPORTGOBI extern "C" __declspec( dllimport )
15 #define IMPORTGOBI __declspec( dllimport )
17 #endif //GOBIAPI_EXPORTS
21 #ifdef GOBIAPI_EXPORTS
22 #define SWIIMPORT extern "C" __declspec( dllexport )
23 #else //GOBIAPI_EXPORTS
26 #define SWIIMPORT extern "C" __declspec( dllimport )
29 #define SWIIMPORT __declspec( dllimport )
31 #endif //GOBIAPI_EXPORTS
34 #define SWICALLBACK __stdcall
35 #define SWICMAPI __stdcall
38 #define GOBICALLBACK __stdcall
39 #define GOBICMAPI __stdcall
41 #define GOBIAPI __cdecl
44 #ifdef GOBIAPI_EXPORTS
45 #define QCIMPORT2K extern "C" __declspec( dllexport )
46 #else //GOBIAPI_EXPORTS
49 #define QCIMPORT2K extern "C" __declspec( dllimport )
52 #define QCIMPORT2K __declspec( dllimport )
54 #endif //GOBIAPI_EXPORTS
57 #define QCCALLBACK2K __stdcall
58 #define QCWWANAPI2K __stdcall
63 #define TECHNOLOGY_CDMA 0x00
64 #define TECHNOLOGY_UMTS 0x01
65 #define TECHNOLOGY_LTE 0x02
66 #define TECHNOLOGY_MULT 0x03
69 #define CARRIER_GENERIC 1
70 #define CARRIER_FACTORY 2
71 #define CARRIER_NORF 3
72 #define CARRIER_VERIZON 101
73 #define CARRIER_SPRINT 102
74 #define CARRIER_ALLTEL 103
75 #define CARRIER_BELL 104
76 #define CARRIER_TELUS 105
77 #define CARRIER_USCELLUAR 106
78 #define CARRIER_TELSTRA 107
79 #define CARRIER_CHINA_UNICOM 108
80 #define CARRIER_TELECOM_NZ 109
81 #define CARRIER_SK_TELCOM 110
82 #define CARRIER_RELIANCE 111
83 #define CARRIER_TATA 112
84 #define CARRIER_METRO_PCS 113
85 #define CARRIER_LEAP 114
86 #define CARRIER_KDDI 115
87 #define CARRIER_GRUPO_IUSACALL 116
88 #define CARRIER_CHINA_MOBILE 117
89 #define CARRIER_OMH 118
90 #define CARRIER_ROGERS 176
91 #define CARRIER_NETINDEX 177
92 #define CARRIER_DNA 178
93 #define CARRIER_AERIS 180
94 #define CARRIER_ATT 201
95 #define CARRIER_VODAFONE 202
96 #define CARRIER_TMOBILE 203
97 #define CARRIER_ORANGE 204
98 #define CARRIER_TELEFONICA 205
99 #define CARRIER_TELECOM_ITALIA 206
100 #define CARRIER_3 207
101 #define CARRIER_O2 208
102 #define CARRIER_SFR 209
103 #define CARRIER_SWISSCOM 210
104 #define CARRIER_CHINA_MOBILE2 211
105 #define CARRIER_TELSTRA2 212
106 #define CARRIER_SIGNAPORE 213
107 #define CARRIER_RELIANCE2 214
108 #define CARRIER_BHARTI_AIRTEL 215
109 #define CARRIER_NTT_DOCOMO 216
110 #define CARRIER_EMOBILE 217
111 #define CARRIER_SOFTBANK 218
112 #define CARRIER_KOREA 219
113 #define CARRIER_SK_TELECOM2 220
114 #define CARRIER_TELNOR 221
115 #define CARRIER_NETCOME_NORWAY 222
116 #define CARRIER_TELIA_SONERA 223
117 #define CARRIER_AMX_TELCEL 224
118 #define CARRIER_BRASIL_VIVO 225
121 #define REGION_NORTH_AMERICA 0x00
122 #define REGION_LATIN_AMERICA 0x01
123 #define REGION_EUROPE 0x02
124 #define REGION_ASIA 0x03
125 #define REGION_AUSTRILIA 0x04
126 #define REGION_GLOBAL 0x05
128 #define UNKNOWN 0xFFFFFFFF